class PageUtils {

    constructor() {
    }

    static page(current, size) {
        let pageUrl = ""
        if (current != null) {
            pageUrl = pageUrl + "current=" + current + "&"
        }
        if (size != null) {
            pageUrl = pageUrl + "size=" + size
        }
        return pageUrl;
    }
}

export default PageUtils;